package com.yusheng.entity;

import com.yusheng.dao.QueryStaff;

public class ApprovalRecord {
    private String recordNo;
    private String stuffNo;
    private String stuffName;
    private String approvalNo;
    private String approvalName;
    private String mainRecord;
    private String currentRecord;
    private String finished;
    private String time;
    private String recordName;
    private String recordOpinin;
    private String recordOpinion1;
    public ApprovalRecord(String recordNo, String stuffNo, String stuffName, String approvalNo, String approvalName, String mainRecord, String currentRecord, String finished, String time, String recordName, String recordOpinin,String recordOpinion1) {
        this.recordNo = recordNo;
        this.stuffNo = stuffNo;
        this.stuffName = stuffName;
        this.approvalNo = approvalNo;
        this.approvalName = approvalName;
        this.mainRecord = mainRecord;
        this.currentRecord = currentRecord;
        this.finished = finished;
        this.time = time;
        this.recordName = recordName;
        this.recordOpinin = recordOpinin;
        this.recordOpinion1=recordOpinion1;
    }

    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    public String getStuffNo() {
        return stuffNo;
    }

    public void setStuffNo(String stuffNo) {
        this.stuffNo = stuffNo;
    }

    public String getStuffName() {
        return stuffName;
    }

    public void setStuffName(String stuffName) {
        stuffName= QueryStaff.queryStuffByNo(this.stuffNo).getStaffname();
        this.stuffName = stuffName;
    }

    public String getApprovalNo() {
        return approvalNo;
    }

    public void setApprovalNo(String approvalNo) {
        this.approvalNo = approvalNo;
    }

    public String getApprovalName() {
        return approvalName;
    }

    public void setApprovalName(String approvalName) {
        approvalName=QueryStaff.queryStuffByNo(this.approvalNo).getStaffname();
        this.approvalName = approvalName;
    }

    public String getMainRecord() {
        return mainRecord;
    }

    public void setMainRecord(String mainRecord) {
        this.mainRecord = mainRecord;
    }

    public String getCurrentRecord() {
        return currentRecord;
    }

    public void setCurrentRecord(String currentRecord) {
        this.currentRecord = currentRecord;
    }

    public String getFinished() {
        return finished;
    }

    public void setFinished(String finished) {
        this.finished = finished;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getRecordName() {
        return recordName;
    }

    public void setRecordName(String recordName) {
        this.recordName = recordName;
    }

    public String getRecordOpinin() {
        return recordOpinin;
    }

    public void setRecordOpinin(String recordOpinin) {
        this.recordOpinin = recordOpinin;
    }
}
